package CSIRPSystem;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "CSIRP".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public class CSIRPPOATie
	extends CSIRPPOA
{
	private CSIRPOperations _delegate;

	private POA _poa;
	public CSIRPPOATie(CSIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public CSIRPPOATie(CSIRPOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public CSIRPSystem.CSIRP _this()
	{
		return CSIRPSystem.CSIRPHelper.narrow(_this_object());
	}
	public CSIRPSystem.CSIRP _this(org.omg.CORBA.ORB orb)
	{
		return CSIRPSystem.CSIRPHelper.narrow(_this_object(orb));
	}
	public CSIRPOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(CSIRPOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public CSIRPConstDefs.Result trigger_heartbeat(java.lang.String manager_identifier) throws CSIRPSystem.InvalidManagerIdentifier,CSIRPSystem.TriggerHeartbeat
	{
		return _delegate.trigger_heartbeat(manager_identifier);
	}

	public java.lang.String[] get_cs_irp_versions() throws CSIRPSystem.GetCSIRPVersions
	{
		return _delegate.get_cs_irp_versions();
	}

	public CSIRPConstDefs.Result set_heartbeat_period(short heartbeat_period) throws CSIRPSystem.InvalidHeartbeatPeriod,CSIRPSystem.ConflictingHeartbeatPeriod,ManagedGenericIRPSystem.OperationNotSupported,ManagedGenericIRPSystem.ValueNotSupported,CSIRPSystem.SetHeartbeatPeriod
	{
		return _delegate.set_heartbeat_period(heartbeat_period);
	}

	public CSIRPConstDefs.Result get_heartbeat_period(org.omg.CORBA.ShortHolder heartbeat_period) throws CSIRPSystem.GetHeartbeatPeriod
	{
		return _delegate.get_heartbeat_period(heartbeat_period);
	}

	public ManagedGenericIRPConstDefs.Method[] get_cs_irp_notification_profile(java.lang.String irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,CSIRPSystem.GetCSIRPNotificationProfile
	{
		return _delegate.get_cs_irp_notification_profile(irp_version);
	}

	public ManagedGenericIRPConstDefs.Method[] get_cs_irp_operations_profile(java.lang.String irp_version) throws ManagedGenericIRPSystem.InvalidParameter,ManagedGenericIRPSystem.OperationNotSupported,CSIRPSystem.GetCSIRPOperationsProfile
	{
		return _delegate.get_cs_irp_operations_profile(irp_version);
	}

}
